## ETPub PCR alpha hacks (etpub_pcr_ah) ## (C) 2006-2007 PatheticCockroach.com ## This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 2.5 License ## Derivative works may only be done if they are distributed with their source code. ## ## The original etpub_pcr_ah source and binaries can be found around http://www.patheticcockroach.com/etserver/etpub_pcr.php ## ## Note : ETPub PCR alpha hacks are just small modifications for ETPub (http://www.etpub.org) From http://games.chruker.dk/enemy_territory/modding_project_bugfix.php?bug_id=026 : Bugfix 026 - Engineers landmine abilities are increased at level 2 instead of level 3 Problem: The documentation state that engineers get better at setting landmines at level 3 engineering. However they were given the increase at level 2. ------------------------- MODIFICATION STARTS HERE src\game\bg_move.c : (line 4116) **** REPLACE if( pm->ps->weapon == WP_LANDMINE ) { if( pm->skill[SK_EXPLOSIVES_AND_CONSTRUCTION] >= 2 ) { **** WITH if( pm->ps->weapon == WP_LANDMINE ) { // CHRUKER: b026 - Skill should first kick in at level 3 if( pm->skill[SK_EXPLOSIVES_AND_CONSTRUCTION] >= 3 ) { src\botai\ai_dmq3.c : (line 740) **** REPLACE case WP_LANDMINE: if( skill[SK_EXPLOSIVES_AND_CONSTRUCTION] >= 2 ) { **** WITH case WP_LANDMINE: // CHRUKER: b026 - Skill should first kick in at level 3 if( skill[SK_EXPLOSIVES_AND_CONSTRUCTION] >= 3 ) {