Originally posted by [b]Wildcard[/b]
Unsurprisingly, since the the only call to skill_onskillusage now lives inside skill_attack(which is only called for offensive skills), and furthermore only occurs if any damage is actually dealt (compare [url="http://rathena.org/board/tracker/issue-5556-elemental-sword-skill-chain-bug/"]this bug[/url] and [url="http://sourceforge.net/apps/trac/rathena/changeset/15846"]r15846[/url]). Since a skill can take one of a million paths in *Athena depending on its type(offensive/support/ground), reason for cast (player, script) and time of the day, will need to carefully vet where to re-instate skill_onskillusage without breaking elemental sword again.
[s]I would very much like to see the leaked item scripts for these two items (elemental sword and glorious fist) to see if they indeed even use the same script, so if anyone could post them I would be much obliged.[/s]
They do. Interesting is the "Target" for CH_SOULCOLLECT
[CODE]
SetSkillAutoSpell MO_EXPLOSIONSPIRITS 1000 CH_SOULCOLLECT 1 Target
[/CODE]
[CODE]
SetSkillAutoSpell MG_COLDBOLT 1000 MG_FIREBOLT 3 Target
SetSkillAutoSpell MG_FIREBOLT 1000 MG_LIGHTNINGBOLT 3 Target
SetSkillAutoSpell MG_LIGHTNINGBOLT 1000 WZ_EARTHSPIKE 3 Target
[/CODE]
This post has been edited by
Wildcard
on Jun 13, 2012 7:23