Mercurial > mm7
diff mm7_3.cpp @ 861:fea81e031484
more AI function renames
author | zipi |
---|---|
date | Sun, 31 Mar 2013 12:49:45 +0100 |
parents | 8fc2f035abc0 |
children | f4394e320312 |
line wrap: on
line diff
--- a/mm7_3.cpp Sun Mar 31 12:39:29 2013 +0100 +++ b/mm7_3.cpp Sun Mar 31 12:49:45 2013 +0100 @@ -15197,7 +15197,7 @@ { if ( v7 >= 0 ) { - Actor::_4030AD(v84, 4, 0); + Actor::Stun(v84, 4, 0); } else { @@ -15547,7 +15547,7 @@ { if ( (signed int)v21->pMonsterInfo.uRecoveryTime <= 0 ) { - Actor::_403476(actor_id, target_pid, &pDir); + Actor::MissileAttack1(actor_id, target_pid, &pDir); } else if ( v21->pMonsterInfo.uMovementType == 5 ) { @@ -15610,7 +15610,7 @@ else { //monsters - Actor::_403C6C(actor_id, target_pid, &pDir); + Actor::MeleeAttack(actor_id, target_pid, &pDir); } } continue; @@ -15626,9 +15626,9 @@ if ( (signed int)v21->pMonsterInfo.uRecoveryTime <= 0 ) { if ( v45 == 2 ) - Actor::_403854(actor_id, target_pid, &pDir); + Actor::SpellAttack1(actor_id, target_pid, &pDir); else - Actor::_403A60(actor_id, target_pid, &pDir); + Actor::SpellAttack2(actor_id, target_pid, &pDir); } else if ( v80 * 307.2 > (double)v81 || v21->pMonsterInfo.uMovementType == 5 ) { @@ -15680,7 +15680,7 @@ } else { - Actor::_403C6C(actor_id, target_pid, &pDir); + Actor::MeleeAttack(actor_id, target_pid, &pDir); } } continue; @@ -15754,7 +15754,7 @@ } else { - Actor::_403C6C(actor_id, target_pid, &pDir); + Actor::MeleeAttack(actor_id, target_pid, &pDir); } } else if ( (signed int)v21->pMonsterInfo.uRecoveryTime > 0 ) @@ -15772,7 +15772,7 @@ } else { - Actor::_40368B(actor_id, target_pid, &pDir); + Actor::MissileAttack2(actor_id, target_pid, &pDir); } } }