I want to make a new skill that could update character's buff. For example, updating existed farsight buff to permant buff.
I know only few about scripts, so I made this by imitated original script and follow the guide of larian wiki:
INIT
CHARACTER:__Me
EXTERN STATUS:%Status=BUFFUPDATE
EXTERN INT:%StatusReApplyOnRemove=0
EXTERN STRING:%ReactToStatusRemoveAD=null
INT:%SetStatus=1
EVENTS
EVENT ApplyBuffStatusUpdate
ON
OnCharacterStatusApplied(__Me,%Status)
ACTIONS
IF "c1&c2"
CharacterHasStatus(__Me,%Status)
CharacterHasStatus(__Me,FARSIGHT)
THEN
CharacterApplyStatus(__Me,FARSIGHT,-1,1)
ENDIF
The script is already imported to resource manager. New status can normally activated, but script effect doesn't work in game. What's wrong with my script?
Last edited by KiyamaHarumi; 02/10/18 06:25 PM.