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!!!
Hello everyone,
Given that he has lots of different projects but no concrete opinions..
I pose my request here.
Which serious Lineage2 HighFive project is the best choice?
For a server that can be custom and which can be suitable for a classic x10 server and an x1000 server for example?
L2J
Or we ideally have the source, in order to be able to add the farming systems, weapons and armor, npc...
Free or paid, it doesn't matter.
THANKS
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