quest and battlefield

Post Reply
sahaly
Posts: 15
Joined: Sat Dec 01, 2012 5:39 pm

quest and battlefield

Post by sahaly » Sat Apr 11, 2015 11:02 am

Quest+Battlefield : Storms of Fate
Battlefield : Ouryu Cometh
Battlefield : The Wyrmking Descends
ENM bionic bug
Attachments
quest and battlefield.patch
(77.33 KiB) Downloaded 415 times

gedads
Developer
Posts: 171
Joined: Fri Jan 04, 2013 7:48 pm

Re: quest and battlefield

Post by gedads » Fri Apr 24, 2015 5:38 am

great! i'm currently adding all missing cs for cop 1-3, the code will probably need reviewing, i can ask demolish to have a look to your script and mine at the same time. (Or you can make a pull request).

sahaly
Posts: 15
Joined: Sat Dec 01, 2012 5:39 pm

Re: quest and battlefield

Post by sahaly » Sun Apr 26, 2015 7:37 am

do what you want :p
for information i have change that line because without that ouryu and bahamut cannot dropp , they are delete from the instance before having the time of dropp. (they have no coffer).

--- src/map/battlefield.cpp (revision 9017)
+++ src/map/battlefield.cpp (working copy)
@@ -336,7 +336,7 @@
bool CBattlefield::allEnemiesDefeated(){
bool allDefeated = true;
for(int i=0; i<m_EnemyVictoryList.size(); i++){
- if(m_EnemyVictoryList.at(i).MobEntity->PBattleAI->GetCurrentAction() >= 20 && m_EnemyVictoryList.at(i).MobEntity->PBattleAI->GetCurrentAction() <= 23){
+ if(m_EnemyVictoryList.at(i).MobEntity->PBattleAI->GetCurrentAction() >= 22 && m_EnemyVictoryList.at(i).MobEntity->PBattleAI->GetCurrentAction() <= 23){
m_EnemyVictoryList.at(i).killed = true;
}
if(m_EnemyVictoryList.at(i).killed == false){
Index: src/map/battlefield_handler.cpp

Post Reply