Skip to content

Commit

Permalink
bg2, Fixes for Wilson
Browse files Browse the repository at this point in the history
  • Loading branch information
CamDawg committed May 23, 2022
1 parent 213fc81 commit adba2af
Show file tree
Hide file tree
Showing 5 changed files with 45 additions and 0 deletions.
9 changes: 9 additions & 0 deletions eefixpack/files/2da/clabbear.2da
@@ -0,0 +1,9 @@
2DA V1.0
****
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50
ABILITY1 AP_OHRBEAR1 **** **** **** **** AP_OHRBEAR7 **** **** **** **** **** AP_OHRBEAR7 AP_OHRBEAR2 **** **** **** **** AP_OHRBEAR7 AP_OHRBEAR3 **** **** **** **** AP_OHRBEAR7 AP_OHRBEAR4 **** **** **** **** **** AP_OHRBEAR5 **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** ****
ABILITY2 GA_OHRRAGE **** **** **** **** **** GA_OHRRAGE **** **** **** **** **** GA_OHRRAGE **** **** **** **** **** GA_OHRRAGE **** **** **** **** **** GA_OHRRAGE **** **** **** **** **** GA_OHRRAGE **** **** **** **** **** GA_OHRRAGE **** **** **** **** **** GA_OHRRAGE **** **** **** **** **** GA_OHRRAGE ****
ABILITY3 AP_OHRBEAR6 **** **** **** **** **** **** AP_OHRBEAR6 **** **** **** **** **** **** **** AP_OHRBEAR6 **** **** **** **** **** **** **** AP_OHRBEAR6 **** **** **** **** **** **** **** AP_OHRBEAR6 **** **** **** **** **** **** **** AP_OHRBEAR6 **** **** **** **** **** **** **** **** **** ****
ABILITY4 **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** ****
ABILITY5 **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** ****
ABILITY6 **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** ****
8 changes: 8 additions & 0 deletions eefixpack/files/baf/wilson.baf
@@ -0,0 +1,8 @@
IF
LevelGT(Myself,%level%)
Global("cd_wilson_str_%level%","LOCALS",0)
THEN
RESPONSE #100
ChangeStat(Myself,STR,1,ADD)
SetGlobal("cd_wilson_str_%level%","LOCALS",1)
END
Binary file added eefixpack/files/spl/ohrbear6.spl
Binary file not shown.
4 changes: 4 additions & 0 deletions eefixpack/files/tph/bg2ee.tph
Expand Up @@ -83,6 +83,10 @@ INCLUDE ~eefixpack/files/tph/tbd_green_slime.tph~
// vernus can't be raised
INCLUDE ~eefixpack/files/tph/tbd_vernus_resurrection.tph~

//tbd, cam
// wilson fixes: strength exploit, AC fixes, regen fixes
INCLUDE ~eefixpack/files/tph/tbd_wilson.tph~

///// \\\\\
///// mechanics fixes / overhauls \\\\\
///// \\\\\
Expand Down
24 changes: 24 additions & 0 deletions eefixpack/files/tph/tbd_wilson.tph
@@ -0,0 +1,24 @@
// tbd, cam
// wilson fixes
COPY ~eefixpack/files/2da/clabbear.2da~ ~override~ // added ohrbear6 at level 1, extended to level 50
~eefixpack/files/spl/ohrbear6.spl~ ~override~ // now purely handles regen

COPY_EXISTING ~wilson9.cre~ ~override~ // make attached regen exclusively sourced from ohrbear6, so it'll progress correctly
~wilson13.cre~ ~override~
LPF DELETE_EFFECT INT_VAR match_opcode = 98 END
LPF ADD_CRE_EFFECT INT_VAR opcode = 98 target = 2 parameter1 = 30 parameter2 = 3 timing = 9 casterlvl = 8 restype = 1 STR_VAR effsource = ohrbear6 END

COPY_EXISTING ~ohrbear2.spl~ ~override~ // paw upgrade, level 13
~ohrbear3.spl~ ~override~ // paw upgrade, level 19
~ohrbear4.spl~ ~override~ // paw upgrade, level 25
~ohrbear5.spl~ ~override~ // paw upgrade, level 31
LPF DELETE_EFFECT INT_VAR match_opcode = 0 END // ac progression already handled by ohrbear7
LPF DELETE_EFFECT INT_VAR match_opcode = 1 END // apr progression already handled by effects attached to ohrwilt1-5
BUT_ONLY

COPY_EXISTING ~ohrbear1.spl~ ~override~ // first upgrade, applies weapon disallow opcodes
LPF DELETE_EFFECT INT_VAR match_opcode = 98 END // regen will be handled exclusively by ohrbear6

ACTION_FOR_EACH level IN 7 15 23 31 39 BEGIN
EXTEND_BOTTOM ~wilson.bcs~ ~eefixpack/files/baf/wilson.baf~ EVALUATE_BUFFER
END

0 comments on commit adba2af

Please sign in to comment.