Page 1 of 1

(fixed) To cast spell is too easy

Posted: Sat Jun 12, 2010 5:45 pm
by Qwerty
I think that it is too easy to cast some difficult or powerful spell in DSB.
I checked a base code.

Line 563 in system.lua

Code: Select all

local wisdom = dsb_get_stat(who, STAT_WIS) + 15
if (wisdom > 115) then wisdom = 115 end
Return integer of "dsb_get_stat" is ten times.
Therefore, "wisdom" is always higher than 115, as a result "wisdom" is defined by 115.