Hercules Elf Bot - Dec 6, 2011 18:56
Originally posted by [b]Truly[/b]
Pretty straight forward here, i was messing around with putting cards into non accessible slots and i came across this "bug". For an example:
I have a custom card ID 30,000 and its scripts are as follows: { announce "While Equipped",bc_all; },{ announce "On Equip",bc_all; },{ announce "On Unequip",bc_all; }
If you put that card/script into an items slot that is not normally allowed, it will only execute the White Equipped script. Lets use a Diabolus Ring as an example:
[b]Diabolus Ring with the custom card/script in the first, allowed slot announces these:[/b]
[u]While Equipped:[/u] "While Equipped"
[u]On Equip:[/u] "On Equip"
[u]On Unequip:[/u] "On Unequip"
[b]Diabolus Ring with nothing in the First 3 slots, and the custom card/script in the last slot announces these:[/b]
[u]While Equipped:[/u] "While Equipped"
[u]On Equip:[/u] -No announcement-
[u]On Unequip:[/u] -No announcement-
I wish i had enough knowledge of C to conjure up a proper source edit to fix this, but sadly i do not.
Thanks for your time,
Truly~
P.S. If you think this is a very small bug and no one would ever need to use it, imagine a server owner manipulating the Armor Enchanted to give a temporary speed boost along with the permanent stat boost.
Hercules Elf Bot - Dec 6, 2011 19:34
Originally posted by [b]Ind[/b]
Its intended because it expects non-slots to be used by the hidden socket system only, and these gems only have the "while equipped" boost, so it doesn't bother looking for others. thanks.