(fixed) To cast spell is too easy

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
User avatar
Qwerty
Apprentice
Posts: 55
Joined: Sun Aug 30, 2009 6:21 am

(fixed) To cast spell is too easy

Post 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.
Post Reply