Page 1 of 1

quest and battlefield

Posted: Sat Apr 11, 2015 11:02 am
by sahaly
Quest+Battlefield : Storms of Fate
Battlefield : Ouryu Cometh
Battlefield : The Wyrmking Descends
ENM bionic bug

Re: quest and battlefield

Posted: Fri Apr 24, 2015 5:38 am
by gedads
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).

Re: quest and battlefield

Posted: Sun Apr 26, 2015 7:37 am
by sahaly
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