mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-12 09:31:30 +00:00
Updated SE_WaketheDead , max will now set duration.
This commit is contained in:
parent
5e7d2fd07d
commit
c412038db8
@ -410,7 +410,7 @@ typedef enum {
|
|||||||
#define SE_AddSingingMod 260 // implemented[AA] - Instrument/Singing Mastery, base1 is the mod, base2 is the ItemType
|
#define SE_AddSingingMod 260 // implemented[AA] - Instrument/Singing Mastery, base1 is the mod, base2 is the ItemType
|
||||||
#define SE_SongModCap 261 // implemented[AA] - Song Mod cap increase (no longer used on live)
|
#define SE_SongModCap 261 // implemented[AA] - Song Mod cap increase (no longer used on live)
|
||||||
#define SE_RaiseStatCap 262 // implemented
|
#define SE_RaiseStatCap 262 // implemented
|
||||||
#define SE_TradeSkillMastery 263 // implemented - lets you raise more than one tradeskill above master.
|
//#define SE_TradeSkillMastery 263 // not implemented - lets you raise more than one tradeskill above master.
|
||||||
//#define SE_HastenedAASkill 264 // not implemented as bonus - Use redux field in aa_actions table for this effect
|
//#define SE_HastenedAASkill 264 // not implemented as bonus - Use redux field in aa_actions table for this effect
|
||||||
#define SE_MasteryofPast 265 // implemented[AA] - Spells less than effect values level can not be fizzled
|
#define SE_MasteryofPast 265 // implemented[AA] - Spells less than effect values level can not be fizzled
|
||||||
#define SE_ExtraAttackChance 266 // implemented - increase chance to score an extra attack with a 2-Handed Weapon.
|
#define SE_ExtraAttackChance 266 // implemented - increase chance to score an extra attack with a 2-Handed Weapon.
|
||||||
|
|||||||
@ -2294,14 +2294,7 @@ bool Mob::SpellEffect(Mob* caster, uint16 spell_id, float partial)
|
|||||||
#endif
|
#endif
|
||||||
//meh dupe issue with npc casting this
|
//meh dupe issue with npc casting this
|
||||||
if(caster->IsClient()){
|
if(caster->IsClient()){
|
||||||
//this spell doesn't appear to actually contain the information on duration inside of it oddly
|
caster->WakeTheDead(spell_id, caster->GetTarget(), spells[spell_id].max[i]);
|
||||||
int dur = 60;
|
|
||||||
if(spell_id == 3269)
|
|
||||||
dur += 15;
|
|
||||||
else if(spell_id == 3270)
|
|
||||||
dur += 30;
|
|
||||||
|
|
||||||
caster->WakeTheDead(spell_id, caster->GetTarget(), dur);
|
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user