function f_addbuff - Printable Version +- SphereCommunity (https://forum.spherecommunity.net) +-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d) +--- Forum: Script Help (/Forum-Script-Help) +--- Thread: function f_addbuff (/Thread-function-f-addbuff) |
function f_addbuff - Cntg - 04-14-2015 03:38 AM I took scripts for necromancy skill from community pack but i didn't find this function codes ' f_addbuff '. I didn't know How does it work so i didnt't do anything for this. Does anyone have this function codes? RE: function f_addbuff - Coruja - 04-14-2015 04:10 AM you can use directly the hardcoded ADDBUFF / REMOVEBUFF functions sintax: ADDBUFF iconID, cliloc1 (title), cliloc2 (description), timer (optional / 0 = no timer), args (optional) REMOVEBUFF iconID RE: function f_addbuff - XuN - 04-14-2015 04:33 PM Or just https://www.google.es/#q=sphere+community+pack+f_addbuff (First result have the function). RE: function f_addbuff - Cntg - 04-14-2015 09:50 PM Ok i changed it in that way but now,i have an error. What does this function do? ERROR:(sphere_spells_necromancy.scp,99)Invalid AddBuff argument number 1 ON=@Success local.delay = <eval ((<spiritspeak> - <act.magicresistance>) / 80) + 8> tag0.BloodOathCaster = <act.uid> act.tag0.BloodOath = <uid> act.events +e_BloodOath act.timerf <dlocal.delay>,f_BloodOathDispel AddBuff BloodOathCaster,<dlocal.delay>,<act.uid> act.AddBuff BloodOathCurse,<dlocal.delay>,<uid> RE: function f_addbuff - XuN - 04-14-2015 11:27 PM Do you have these defnames? https://code.google.com/p/sphere-community-pack/source/browse/trunk/scripts/add-on/sphere_pack_defs.scp?r=151 This function does, as it states, adding a buff to the player, you'll see if you have client greater than SA (AFAIR): http://www.uoguide.com/Buff_Bar RE: function f_addbuff - Cntg - 04-15-2015 12:08 AM i hadn't take its. Thanks I have one more problem. I guess, The latest sphereserver.exe have a poison time problem. when someone affect poison, The poison rune remove quickly. But when i use the old version, I don't have this problem. Also, i remove all events and checked poison morey. |