Warhorse ScripBind documentation
ContentsIndexHome
PreviousUpNext
AddBuff
Syntax
C++
int AddBuff(IFunctionHandler * h, const char * buff_id);

Syntax: soul:AddBuff(string buff_id[, string perk_id]) 

Adds buff identified by the database id. Returns the instance id. If the buff is the result of a perk, optional perk_id can be used to notify GUI. 

 

Copyright (c) 2012. All rights reserved.