targets = skillInfo.getTargetList(player) how to change it to set target only yourself not whole party clan and alliance? trying to do it 4 hours i'm pissed off :| i'm gonna destroy my computer now. someone help me please
This applies the skill effects to all valid targets. If you only want #
# it to apply the effects to the player then you should change "targets" #
# in the line below to "[player]". THIS DOESN'T WORK!!!
DISCORD :
https://discord.com/users/325653525793210378
utchiha_market
telegram :
https://t.me/utchiha_market
SELLIX STORE :
https://utchihamkt.mysellix.io/
Join our server for more products :
https://discord.gg/uthciha-services
https://campsite.bio/utchihaamkt
Question
djpain
so i have downloaded buffer. which buffs whole party. cant edit code. need some help.
def skillCast(player,skill,level,useAnimation): #
# This line is necessary and gets the skill information. #
skillInfo = SkillTable.getInstance().getInfo(skill,level) #
if not skillInfo: #
return False #
############################################################################
# This line causes the client to display the animation for the #
# skill. If you do not want the client to display the animation #
# for a specific skill simply set useAnimation to false for that #
# skill call. If you want to disable it for all skills simply #
# comment out the below two lines. #
############################################################################
# We need to make sure the player has him/herself targetted, but #
# we also want to make sure we don't permanently change the target #
# so we will save off the current target before changing it to the #
# player. #
currentTarget = player.getTarget() #
player.setTarget(player) #
############################################################################
# This gets all the targets for the skill (self, party, clan, ally, etc...)#
targets = skillInfo.getTargetList(player) #
############################################################################
# Now we reset the target we had before we switched to the player. #
player.setTarget(currentTarget) #
############################################################################
# This applies the skill effects to all valid targets. If you only want #
# it to apply the effects to the player then you should change "targets" #
# in the line below to "[player]". #
player.callSkill(skillInfo,targets) #
return True #
############################################################################
targets = skillInfo.getTargetList(player) how to change it to set target only yourself not whole party clan and alliance? trying to do it 4 hours i'm pissed off :| i'm gonna destroy my computer now. someone help me please
This applies the skill effects to all valid targets. If you only want #
# it to apply the effects to the player then you should change "targets" #
# in the line below to "[player]". THIS DOESN'T WORK!!!
6 answers to this question
Recommended Posts