From: Jaka K. <lyn...@us...> - 2012-05-05 07:40:11
|
gemrb: Infinity Engine emulator The branch master has been updated via 474604d7fa5eaf3140b13f6f4bdfb5a7b9bd7114 (commit) Summary of changes: gemrb/plugins/FXOpcodes/FXOpcodes.cpp | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) from 032291111bad2c6f2e4935f3d98f3d865e9bdfff (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=474604d7fa5eaf3140b13f6f4bdfb5a7b9bd7114 commit 474604d7fa5eaf3140b13f6f4bdfb5a7b9bd7114 Author: Jaka Kranjc <lyn...@us...> Date: Sat May 5 09:36:22 2012 +0200 fixed to-hit bonus from invisibility diff --git a/gemrb/plugins/FXOpcodes/FXOpcodes.cpp b/gemrb/plugins/FXOpcodes/FXOpcodes.cpp index 30a4d61..8b446d3 100644 --- a/gemrb/plugins/FXOpcodes/FXOpcodes.cpp +++ b/gemrb/plugins/FXOpcodes/FXOpcodes.cpp @@ -1621,7 +1621,7 @@ int fx_set_invisible_state (Scriptable* /*Owner*/, Actor* target, Effect* fx) } else { STATE_SET( STATE_INVISIBLE ); } - STAT_ADD(IE_TOHIT, 4); + HandleBonus(target, IE_TOHIT, 4, fx->TimingMode); break; case 1: STATE_SET( STATE_INVIS2 ); ----------------------------------------------------------------------- This is an automated email from the git hooks/post-receive script. -- gemrb: Infinity Engine emulator |