Summon control and stacks of money

Where bugs go to lie down and rest

Moderator: Moderator

Post Reply
Message
Author
Zaive
Archmage
Posts: 313
Joined: Mon May 24, 2010 1:33 pm

Summon control and stacks of money

#1 Post by Zaive »

During summon control, your summon can pick up stacks of money.

The money disappears when they do.

Another thing about summon control - it resets the summons cooldowns. I summoned a hydra, waited for it to use it's 3 breaths, used summon control and used them all again.
Burb Lulls wrote:"FLURRYFLURRYFLURRYFLURRYFLURRYFLURRY"

yufra
Perspiring Physicist
Posts: 1332
Joined: Tue Jul 13, 2010 2:53 pm

Re: Summon control and stacks of money

#2 Post by yufra »

The summons not dropping money should be fixed with the addition of something like this to Actor:die...

Code: Select all

	if self.money > 0 then
		local money = game.zone:makeEntityByName(game.level, "object", "MONEY_SMALL")
		money.money_value = self.money
		game.zone:addEntity(game.level, money, "object", self.x, self.y)
	end
EDIT: Ok, tested it and edited the code above. This works.
<DarkGod> lets say it's intended

Post Reply