Project Illusion AA
Hello. Here is my completed Project Illusion AA code. I have tested it. I apologize for not having that nifty .patch format but I couldn't get WinMerge to work :P
{spdat.h} At bottom of file, add: Code:
bool IsPlayerIllusionSpell(int16 spell_id); // seveian 2008-09-23 At bottom of file, add: Code:
// seveian 2008-09-23 In the enum aaEffectType, add a new item Code:
aaEffectProjectIllusion // seveian 2008-09-23 in the void Client::HandleAAAction(aaID activate), locate the switch(caa->action) and add the following case statement Code:
// seveian 2008-09-23 in the bool Mob::DetermineSpellTargets, after the line "bodyType target_bt = BT_Humanoid;", add the following (NOTE: The switch I ended off with in my snippet above should _REPLACE_ the existing switch.) Code:
SpellTargetType targetType = spells[spell_id].targettype; Code:
//range check our target, if we have one and it is not us Code:
// seveian 2008-09-23 Code:
// Code:
// seveian 2008-09-23 |
Sorry, need to post a change to this:
in {spells.cpp} The line: Code:
&& !spell_target // null ptr crash safeguard Code:
&& spell_target != NULL // null ptr crash safeguard |
All times are GMT -4. The time now is 08:30 PM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.