• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!
  • If you're using Gesior 2012 or MyAAC, please review this thread for information about a serious security vulnerability and a fix.

[TFS 1.5 Downgrade Nekiro] Problem in killing summons for task count

Luan Luciano

Member
Joined
Apr 28, 2014
Messages
50
Reaction score
13
GitHub
luanluciano93
At first I thought it could be an error in the getMaster() function, but I saw that there was no problem with it.

After several tests, I realized that, for example, when attacking an Orshaball with summoned demons, and killing them all at the same time, maybe the orsha dies first and the demons are no longer summons and count for the task.

I'm not sure if this also happens in the current repository of the TFS project. I think it's a problem.
 

bpm91

Well-Known Member
Joined
May 23, 2019
Messages
673
Solutions
7
Reaction score
85
Location
Brazil
test the function


Lua:
function isSummon(cid)
return getCreatureMaster(cid) and getCreatureMaster(cid) ~= cid
end
 
Top