[Question]GM blue piglet

07/19/2012 19:57 matthew 2010#1
hi all i was just wondering if its possible to be able to make the blue gm piglet a permanent body mesh
for pms so as it cant be changed or transformed from and if so what do i need to associate with it so that pms can only be hit 1's and hit 1's and all that etc ty in advanced if anyone can help (5530 source i think impulse based)
07/19/2012 20:07 shadowman123#2
1 - yea you can by setting Your character Body mesh inside your database entities write in body column 223 and removing the Transform Body command inside packethandler.cs

2 - Yea its pretty easy .. in calculate.cs Write these code in these 3 void Melee , Magic , Ranged

if (attacked.Owner.Account.Accountstate >= 3)
{
return 1;
}

So this code check if the Attacked is pm or not if its Either Pm , Gm Damage sent to them would be = 1