;;Script pockets / Stormbringer 2 ;;C.Holtorf ;;initial state StartState Init State Init { AIFunction Defensive Build pockets1 SB Exact 1pocket 4 4 .5 TriggerProcessor GoNamedState GroupsWatchingEnemy pockets1 GroupsHelpingRepelEnemy pockets1 WaypointPath pockets1 rally noloop } State FoundEnemy { AIFunction Defensive NextState Base FoundEnemyFunction RepelAttack } ;;route to rally point Path rally { 130.257568 55.279568 182.861649 } ;;State keyed when you arrive at the destroyed base State Base { AIFunction Defensive TriggerProcessor GoNamedState GroupsWatchingEnemy pockets1 GroupsHelpingRepelEnemy pockets1 FoundEnemyFunction RepelAttack WaypointPath pockets1 longhike noloop } ;;route from North Shrine to N. Fountain Path longhike { 130.257568 55.279568 182.861649 142.794937 52.606422 136.871902 138.397491 41.179806 94.672043 94.687508 41.995579 98.558083 } ;;route from N. Fountain to intercept or take south fountain (tested_works) Path retaliate { 149.041 40.202 84.235 156.735 39.874 52.463 137.856 36.818 -24.706 116.613 29.550 -102.034 90.757 25.315 -135.401 } Buildlist 2pocket { Acolyte Acolyte Conjurer Conjurer Conjurer Pyromage Pyromage } ;;defense State State defend { AIFunction Defensive Build pockets3 SB Exact 2pocket 6 6 .5 Build pockets2 SB Exact 2pocket 3 3 .5 TriggerProcessor GoNamedState GroupsWatchingEnemy pockets1 pockets2 pockets3 GroupsHelpingRepelEnemy pockets1 pockets2 pockets3 FoundEnemyFunction RepelAttack FoundEnemyNewState FoundEnemy } State defending { AIFunction Defensive Build pockets1 SB Exact 2pocket 3 3 .5 Build pockets3 SB Exact 2pocket 6 6 .5 Build pockets2 SB Exact 2pocket 5 5 .5 TriggerProcessor GoNamedState GroupsWatchingEnemy pockets1 pockets2 pockets3 GroupsHelpingRepelEnemy pockets1 pockets2 pockets3 FoundEnemyFunction RepelAttack FoundEnemyNewState FoundEnemy WaypointPath pockets1 moon noloop WaypointPath pockets2 longhike noloop WaypointPath pockets3 near noloop } State retaliate { AIFunction Defensive Build pockets1 SB Exact 1pocket 3 3 .5 TriggerProcessor GoNamedState GroupsWatchingEnemy pockets1 GroupsHelpingRepelEnemy pockets1 WaypointPath pockets1 retaliate noloop } ;;rally point at north base Path backup { 111.673 55.920 187.506 } ;;West fountain defense State State westerly { AIFunction Defensive Build pockets3 SB Exact western 6 6 .5 Build pockets2 SB Exact western 3 3 .5 Build pockets1 SB Exact western 6 6 .5 TriggerProcessor GoNamedState GroupsWatchingEnemy pockets1 pockets2 pockets3 GroupsHelpingRepelEnemy pockets1 pockets2 pockets3 FoundEnemyFunction RepelAttack } State westerlygo { AIFunction Defensive TriggerProcessor GoNamedState GroupsWatchingEnemy pockets1 pockets2 pockets3 GroupsHelpingRepelEnemy pockets1 pockets2 pockets3 FoundEnemyFunction RepelAttack WaypointPath pockets1 southerly noloop WaypointPath pockets2 southerly noloop WaypointPath pockets3 player loop } ;;route for southgate to south fountain (activated by westgate trigger) Path southerly { 137.581848 54.968472 166.154175 148.960739 48.958679 120.998970 151.973068 40.349937 63.849392 152.602417 40.027695 29.282700 141.803925 43.039379 -18.507353 135.587555 30.585663 -94.801277 89.246162 26.831781 -133.375961 } ;;route for player base sneak attack Path player { -12.546774 40.065552 0.909799 -10.101770 40.450207 -23.418871 7.138984 39.808670 -26.615141 31.594984 40.110783 -17.906660 } ;;north fountain defense State State north { AIFunction Defensive Build pockets3 SB Exact western 5 5 .5 Build pockets2 SB Exact western 6 6 .5 TriggerProcessor GoNamedState GroupsWatchingEnemy pockets1 pockets2 pockets3 GroupsHelpingRepelEnemy pockets1 pockets2 pockets3 FoundEnemyFunction RepelAttack } State northgo { AIFunction Defensive TriggerProcessor GoNamedState GroupsWatchingEnemy pockets1 pockets2 pockets3 GroupsHelpingRepelEnemy pockets1 pockets2 pockets3 FoundEnemyFunction RepelAttack WaypointPath pockets1 moon noloop WaypointPath pockets3 near noloop } Path centered { -161.572083 50.000000 -213.826202 } Path moon { 135.039612 55.045139 171.048950 154.202347 49.594387 117.968864 143.875534 40.119179 88.932037 157.634094 39.613140 73.535248 } Path south { -122.142 33.260 -123.275 -155.214 30.084 -105.543 -160.334 29.838 -112.878 } Path catch { 14.093468 30.828529 168.500656 -49.464413 29.890366 123.177383 -84.121704 31.169586 96.139511 -128.776031 40.014420 118.027046 -140.228058 49.195709 155.836334 -144.924667 49.967350 194.119186 } Path near { 99.356308 41.995579 104.421989 117.236664 40.778717 102.416458 146.638046 43.244778 102.366798 148.226181 52.145504 142.205109 136.479126 55.298454 175.131668 } ;;BUILDLISTS Buildlist 1pocket { Conjurer Conjurer Conjurer Pyromage Acolyte Acolyte Acolyte } Buildlist western { Acolyte Conjurer Pyromage }