(fixed) Small error in method_heal

This forum is for the Lua scriptable clone of DM/CSB called Dungeon Strikes Back by Sophia. Use DSB to build your own highly customised games.

Moderator: Sophia

Forum rules
Please read the Forum rules and policies before posting.
Post Reply
Remy
Craftsman
Posts: 111
Joined: Wed Sep 05, 2007 5:24 pm
Contact:

(fixed) Small error in method_heal

Post by Remy »

In the method_heal function ('base\methods.lua'), line 563 reads:

Code: Select all

	local needed_hp = dsb_get_maxbar(who_HEALTH) - hp
Which causes a crash. That last underscore in the arguements should probably be a comma.
Post Reply