From: Laszlo T. <ave...@us...> - 2012-03-26 20:27:29
|
gemrb: Infinity Engine emulator The branch master has been updated via 46c8e4042f5e681b386d5eb2a7016483b6c5e471 (commit) Summary of changes: gemrb/override/iwd2/effects.ids | 1 + gemrb/plugins/IWDOpcodes/IWDOpcodes.cpp | 10 ++++++++++ 2 files changed, 11 insertions(+), 0 deletions(-) from 7bf7aa5304f689be7317d560c0827101530d81d2 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- http://gemrb.git.sourceforge.net/git/gitweb.cgi?p=gemrb/gemrb;a=commitdiff;h=46c8e4042f5e681b386d5eb2a7016483b6c5e471 commit 46c8e4042f5e681b386d5eb2a7016483b6c5e471 Author: Avenger <ave...@so...> Date: Mon Mar 26 22:26:40 2012 +0200 simple turn undead level modifier to help with improved turning feat diff --git a/gemrb/override/iwd2/effects.ids b/gemrb/override/iwd2/effects.ids index 0d3c6d4..d172a31 100644 --- a/gemrb/override/iwd2/effects.ids +++ b/gemrb/override/iwd2/effects.ids @@ -306,6 +306,7 @@ IDS 0x130 SearchModifier 0x131 SpellcraftModifier 0x132 CriticalHitModifier +0x133 TurnLevelModifier 399 AlterAnimation 400 Hopelessness 401 ProtectionFromEvil diff --git a/gemrb/plugins/IWDOpcodes/IWDOpcodes.cpp b/gemrb/plugins/IWDOpcodes/IWDOpcodes.cpp index d7f86be..adf3d61 100644 --- a/gemrb/plugins/IWDOpcodes/IWDOpcodes.cpp +++ b/gemrb/plugins/IWDOpcodes/IWDOpcodes.cpp @@ -180,6 +180,7 @@ static int fx_intimidate_modifier (Scriptable* Owner, Actor* target, Effect* fx) static int fx_search_modifier (Scriptable* Owner, Actor* target, Effect* fx);//130 static int fx_spellcraft_modifier (Scriptable* Owner, Actor* target, Effect* fx);//131 //0x132 CriticalHitModifier (same as bg2, needed for improved criticals) +static int fx_turnlevel_modifier (Scriptable* Owner, Actor* target, Effect* fx); //133 //iwd related, gemrb specific effects (IE. unhardcoded hacks) static int fx_alter_animation (Scriptable* Owner, Actor *target, Effect* fx); //399 @@ -316,6 +317,7 @@ static EffectDesc effectnames[] = { { "IntimidateModifier", fx_intimidate_modifier, 0, -1 },//12f { "SearchModifier", fx_search_modifier, 0, -1 },//130 { "SpellcraftModifier", fx_spellcraft_modifier, 0, -1 },//131 + { "TurnLevelModifier", fx_turnlevel_modifier, 0, -1 },//133 //unhardcoded hacks for IWD { "AlterAnimation", fx_alter_animation, EFFECT_NO_ACTOR, -1 }, //399 //iwd2 effects @@ -2460,6 +2462,14 @@ int fx_spellcraft_modifier (Scriptable* /*Owner*/, Actor* target, Effect* fx) //0x132 DamageLuck (gemrb extension for iwd2, implemented in base opcodes) +//0x133 TurnLevel (gemrb extension for iwd2) +int fx_turnlevel_modifier (Scriptable* /*Owner*/, Actor* target, Effect* fx) +{ + if(0) print("fx_turnlevel_modifier(%2d): Mod: %d, Type: %d", fx->Opcode, fx->Parameter1, fx->Parameter2); + STAT_MOD( IE_TURNUNDEADLEVEL ); + return FX_APPLIED; +} + //IWD2 effects //400 Hopelessness ----------------------------------------------------------------------- This is an automated email from the git hooks/post-receive script. -- gemrb: Infinity Engine emulator |