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!!!
https://mega.nz/file/pZpxVIwa#vAHuvh62UUK2_0B5-b8OrN6fK6gRTfJLeL3Y2sagk0M new link
https://mega.nz/file/YRJ3GYha#N5XemNdnLzL9ZkABnrdAD7K26rdfCmjYQPgXcmPVkTA system
Hello everyone,
We're shifting our focus away from implementing as much as possible from the Essence gameplay. Instead, the server will now be Interlude, but using the Essence client.
This should be good news for everyone.
The Beta phase will most likely take place in November, with the grand opening to follow shortly after.
Cheers!
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!!!
Link to comment
Share on other sites
6 answers to this question
Recommended Posts