CODE
if gold != nil || gold != 0
cc = IEX_YGG_Drop_Character.new(IEX_YGG_Gold_Item.new(gold), IEX::YGGDRASIL::GOLD_FADE_TIME)
cc.moveto(x, y)
drops.push(cc)
end
cc = IEX_YGG_Drop_Character.new(IEX_YGG_Gold_Item.new(gold), IEX::YGGDRASIL::GOLD_FADE_TIME)
cc.moveto(x, y)
drops.push(cc)
end
and change it to:
CODE
if gold != nil and gold != 0
cc = IEX_YGG_Drop_Character.new(IEX_YGG_Gold_Item.new(gold), IEX::YGGDRASIL::GOLD_FADE_TIME)
cc.moveto(x, y)
drops.push(cc)
end
cc = IEX_YGG_Drop_Character.new(IEX_YGG_Gold_Item.new(gold), IEX::YGGDRASIL::GOLD_FADE_TIME)
cc.moveto(x, y)
drops.push(cc)
end
the problem was with the "||" and the "and" I believe that it was probably a mistake in the coding. If you change the "||" to "and" all you have to do is put "0" for how much gold the enemy drops and it won't drop any. Cool cool!
@KaizerKirin
Like IceDragon said when he posted the script: It's not noob friendly. I take that as not user friendly either. It has taken a LOT of time to erase all of the old actions and place in my own. What I did was place the Yggdrasil scipts in my game and erased most everything and then used the Yddrasil demo as a reference on how to do everything.
