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

Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

Party buffer

NotPanda

New Member
Joined
Jun 12, 2015
Messages
33
Hey guys, need some help here.
I'm trying to make a method to buff every party member.

Problems i foresee is the different rankings of buffs will have different buff ids.
Would appreciate any tips and if this code works! :P

Code:
foreach (PartyMember member in getPartyMembers()) {
                    if(member.obj.isAlive == true){
                                         foreach(var buff in sqlCore.sqlBuffs){
                                                             if(!member.obj.getBuffs().Exists(b => == buff.id)){
                                                                                 SetTarget(member.obj);
                                                                                 If(isSkillLearned(buff.buffSkills.abilityId) == true){
                                                                                                     UseSkill(buff.buffSkills.abilityId);
                                                                                 }                                                                                
                                                             }
                                         }
                    }
}
 
Until I have all the id's to match the lift this is what i have added personally

As for purge, it's just simply a

Code:
   if (isSkillLearned(SKILLID) == true && skillCooldown(SKILLID) == 0)
{
useSkill(SkillID);
}

Code:
// [ Health Lift ]
            if (isSkillLearned(11991) == true && skillCooldown(11991) == 0 && _HealthLift == true) { 
                foreach (PartyMember member in getPartyMembers()) { 
                    if (!DeadPpl.Contains(member.obj))  { 
                        if (!member.obj.getBuffs().Exists(b => b.name == "Health Lift (Rank 1)") &&
                            !member.obj.getBuffs().Exists(b => b.name == "Health Lift (Rank 2)") &&
                            !member.obj.getBuffs().Exists(b => b.name == "Health Lift (Rank 3)") &&
                            !member.obj.getBuffs().Exists(b => b.id == 7655)) { 
                            if (me.dist(member.obj) <= 20) { 
                                SetTarget(member.obj); 
                                UseSkill(16004); 
                                Log(Time() + "[INFO]: Casting Health Lift on " + member.obj.name );
                                Thread.Sleep(2000);
                            } 
                        } 
                    }
                }
 
Last edited:
ID's are available in the archeage database. Everything you need to create a script for buffing/songs/heals is available in this forum -- mostly in the four songs plugin. Also there was one plugin for hasla buffs and heals
 
Back
Top