Proposed Slime King AI change will cause phase 3 to start on the bullet pattern instead of the jump pattern if the jump pattern from phase 2 was just executed.
This commit is contained in:
parent
a687bbe455
commit
60e5ca2033
@ -280,6 +280,9 @@ void Monster::STRATEGY::SLIMEKING(Monster&m,float fElapsedTime,std::string strat
|
|||||||
if(m.GetRemainingHPPct()<=ConfigFloat("Phase3.Change")/100.f){
|
if(m.GetRemainingHPPct()<=ConfigFloat("Phase3.Change")/100.f){
|
||||||
m.phase=3;
|
m.phase=3;
|
||||||
m.SetSize(ConfigFloat("Phase3.Size")/100,false);
|
m.SetSize(ConfigFloat("Phase3.Size")/100,false);
|
||||||
|
if(m.I(A::PATTERN_REPEAT_COUNT)==0){
|
||||||
|
m.I(A::PATTERN_REPEAT_COUNT)=1;
|
||||||
|
}
|
||||||
TransitionPhase(m.phase);
|
TransitionPhase(m.phase);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
@ -39,7 +39,7 @@ All rights reserved.
|
|||||||
#define VERSION_MAJOR 0
|
#define VERSION_MAJOR 0
|
||||||
#define VERSION_MINOR 5
|
#define VERSION_MINOR 5
|
||||||
#define VERSION_PATCH 1
|
#define VERSION_PATCH 1
|
||||||
#define VERSION_BUILD 8082
|
#define VERSION_BUILD 8083
|
||||||
|
|
||||||
#define stringify(a) stringify_(a)
|
#define stringify(a) stringify_(a)
|
||||||
#define stringify_(a) #a
|
#define stringify_(a) #a
|
||||||
|
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user