From: <lyn...@us...> - 2008-10-15 17:31:09
|
Revision: 5445 http://gemrb.svn.sourceforge.net/gemrb/?rev=5445&view=rev Author: lynxlupodian Date: 2008-10-15 15:40:44 +0000 (Wed, 15 Oct 2008) Log Message: ----------- iwd2: stunning fist requires 13+ dex, 13+ wis and 8+ bab also fixed keyword misuse Modified Paths: -------------- gemrb/trunk/gemrb/GUIScripts/iwd2/Feats.py gemrb/trunk/gemrb/override/iwd2/featreq.2da Modified: gemrb/trunk/gemrb/GUIScripts/iwd2/Feats.py =================================================================== --- gemrb/trunk/gemrb/GUIScripts/iwd2/Feats.py 2008-10-14 21:44:31 UTC (rev 5444) +++ gemrb/trunk/gemrb/GUIScripts/iwd2/Feats.py 2008-10-15 15:40:44 UTC (rev 5445) @@ -312,8 +312,15 @@ return #Custom feat check functions -def Check_AnyOfThree(pl, a, as, b, bs, c, cs, *garbage): - if GemRB.GetPlayerStat(pl, as)==a: return True +def Check_AnyOfThree(pl, a, ass, b, bs, c, cs, *garbage): + if GemRB.GetPlayerStat(pl, ass)==a: return True if GemRB.GetPlayerStat(pl, bs)==b: return True if GemRB.GetPlayerStat(pl, cs)==c: return True return False + +def Check_AllOfThreeGE(pl, a, ass, b, bs, c, cs, *garbage): + if GemRB.GetPlayerStat(pl, ass) < a: return False + if GemRB.GetPlayerStat(pl, bs) < b: return False + if GemRB.GetPlayerStat(pl, cs) < c: return False + return True + Modified: gemrb/trunk/gemrb/override/iwd2/featreq.2da =================================================================== --- gemrb/trunk/gemrb/override/iwd2/featreq.2da 2008-10-14 21:44:31 UTC (rev 5444) +++ gemrb/trunk/gemrb/override/iwd2/featreq.2da 2008-10-15 15:40:44 UTC (rev 5445) @@ -68,7 +68,7 @@ SPELL_PENETRATION FEAT_SPELL_PENETRATION 2 0 0 0 0 0 0 0 0 * * * * SPIRIT_OF_FLAME 0 1 SPELLCRAFT 10 0 0 CLASSLEVELMAGE 7 CLASSLEVELSORCEROR 7 * * * * STRONG_BACK 0 1 0 0 0 0 0 0 0 0 * * * * -STUNNING_FIST 0 1 DEX 13 0 0 WIS 13 0 0 * * * * +STUNNING_FIST 0 1 AllOfThreeGE -1 DEX 13 WIS 13 HITBONUS 8 * * * * SUBVOCAL_CASTING 0 1 CLASSLEVELMAGE 1 CLASSLEVELSORCEROR 1 0 0 0 0 * * * * TOUGHNESS FEAT_TOUGHNESS 5 0 0 0 0 0 0 0 0 * * * * TWO_WEAPON_FIGHTING 0 1 0 0 0 0 0 0 0 0 * * * * This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |