What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal

Trying to add buffs

moehawk

New Member
Joined
Jun 23, 2012
Messages
91
Reaction score
0
Hey guys, I am trying to add these buffs, Thwart and Conversion Shield to Mordark Fight4Me Stone-Arrow plugin, which i am changing it around for primeval.

I got these lines of code from SystemShock - Simple daggerspell grinder + deathwalk


Code:
                    //Check our buffs
                    public void CheckBuffs()
                    {  
                        if (buffTime("Conversion Shield (Rank 3)") == 0 && skillCooldown("Conversion Shield") == 0)
                        UseSkillAndWait("Conversion Shield", true);
                        if (buffTime("Thwart (Rank 4)") == 0 && skillCooldown("Thwart") == 0)
                        UseSkillAndWait("Thwart", true);
 }

It is not compiling which i knew it wont because i have no idea what i am doing :P
I have never coded before and just trying to figure this out, any help will be appreciated thanks guys

Edit: Never mind Figured it out myself
 
Last edited:
Back
Top