Issue information

Issue ID
#8271
Status
Fixed
Severity
None
Started
kyeme
Jul 19, 2014 14:01
Last Post
AnnieRuru
Sep 25, 2014 16:38
Confirmation
Yes (1)
No (1)

kyeme - Jul 19, 2014 14:01

Even the item is disabled on map_zone_db [b]OnEquipScript[b]: <" "> [/b][/b]and [b]OnUnequipScipt: <" ">[/b] still works.

For example inside a castle the High Wizard Card is disabled so since it is disabled it should be fine unequpping the headgear without loosing any SP given that the card is disabled. However upon unequipping the Headgear together with the High Wizard Card inside a castle the [color=#ff0000]-2000 sp takes effect[/color] and it should not happen since the card's effect is already disabled.

This post has been edited by kyeme on Jul 19, 2014 14:03

Ind - Sep 20, 2014 22:05

this one is problematic huhum o.o~ for example you use that flame thing card that grants sight, enters a map where the item is disabled, you can take the item off the sc_end SC_SIGHT; triggerring (same for eddga card, which'd be much worse). I wonder what kind of logic official server applies here

AnnieRuru - Sep 25, 2014 16:38

it was my pull request before, so I fix this
[url="https://github.com/HerculesWS/Hercules/commit/30d748f4ab332b501b6db5ce59421ea42387a8b8"]https://github.com/HerculesWS/Hercules/commit/30d748f4ab332b501b6db5ce59421ea42387a8b8[/url]