Gentle approach to removing random
Moderator: Forum Moderators
Forum rules
Before posting a new idea, you must read the following:
Before posting a new idea, you must read the following:
Re: Gentle approach to removing random
Code: Select all
<Lua error> .../add-ons/Deterministic_Offense/deterministic_offense.lua:214: attempt to perform arithmetic on local 'chance_to_hit' (a nil value)
stack traceback:
.../add-ons/Deterministic_Offense/deterministic_offense.lua:214: in function
<.../add-ons/Deterministic_Offense/deterministic_offense.lua:193>
(...tail calls...)
.../add-ons/Deterministic_Offense/deterministic_offense.lua:426: in function 'cmd'
.../Wesnoth.app/Contents/Resources/.//data/lua/wml-tags.lua:320: in function
<.../Wesnoth.app/Contents/Resources/.//data/lua/wml-tags.lua:284>
-
- Posts: 76
- Joined: July 12th, 2014, 4:09 am
Re: Gentle approach to removing random
I uploaded new version — in case when defense is undefined it's considered to be 50%. Some weird terrain or modifier have
nil value
.