View Single Post
  #9  
Old 02-22-2010, 04:27 PM
Taurinus
Hill Giant
 
Join Date: Jul 2009
Location: Southern United States
Posts: 107
Default

Great work, Trevius.

I had actually started implementing the exact same thing, but was going about it a different way. I was going to export a new perl function that allowed setting the damage type on a per-mob basis.

About the compiler error, just feed it what it wants so it stops moaning:
Code:
SkillType skillinuse = HAND_TO_HAND;
	if (Hand == 13) {
		skillinuse = static_cast<SkillType> ( GetPrimSkill() );
	}
	if (Hand == 14) {
		skillinuse = static_cast<SkillType>( GetSecSkill() );
	}
Reply With Quote