Well i just wanted to help ...
Please close this thread
Well i just wanted to help ...
Please close this thread
Last edited by Cryptopia; 16-02-14 at 10:24 PM.
File: sobj_Zombie.cpp
Code:if (!isSpecialbool) { if(bodyPart!=1) // only hitting head will lower zombie's health dmg = 0; } // super zombie if(HeroItemID == 20204 && bodyPart != 1) // only hitting head will lower zombie's health dmg = 0; if(HeroItemID == 20204) { SZombieHealth -= dmg; } else { ZombieHealth -= dmg; } if(HeroItemID == 20204) { if(SZombieHealth <= 0.0f) { DoDeath(); if(fromObj->Class->Name == "obj_ServerPlayer") { obj_ServerPlayer* plr = (obj_ServerPlayer*)fromObj; gServerLogic.AddPlayerReward(plr, RWD_SZombieKill, 20204); } return true; } } else { if(ZombieHealth <= 0.0f) { DoDeath(); if(fromObj->Class->Name == "obj_ServerPlayer") { obj_ServerPlayer* plr = (obj_ServerPlayer*)fromObj; gServerLogic.AddPlayerReward(plr, RWD_ZombieKill, 0); } return true; } } // stagger code
Lol you rewrite my tutorial?
Really funny @Cryptopia but Poster13 has posted the same tutorial already: http://forum.ragezone.com/f791/tutor...p-drop-965499/
Please search next time before making a tutorial. This would make whole community happy, at least credit the original creator.
This tutorial was (Only InvasionMMO Source).
Well just close this when everybody is bitching now. ;)
I just wanted to help
- - - Updated - - -
no next time read the full thread -.-
This is the edited part from me! :
// super zombie
if(HeroItemID == 20204 && bodyPart != 1) // only hitting head will lower zombie's health
dmg = 0;
if(HeroItemID == 20204)
{
SZombieHealth -= dmg;
}
else
{
ZombieHealth -= dmg;
}
if(HeroItemID == 20204)
{
if(SZombieHealth <= 0.0f)
{
DoDeath();
if(fromObj->Class->Name == "obj_ServerPlayer")
{
obj_ServerPlayer* plr = (obj_ServerPlayer*)fromObj;
gServerLogic.AddPlayerReward(plr, RWD_SZombieKill, 20204);
}
return true;
}
}
else
{
if(ZombieHealth <= 0.0f)
{
DoDeath();
if(fromObj->Class->Name == "obj_ServerPlayer")
{
obj_ServerPlayer* plr = (obj_ServerPlayer*)fromObj;
gServerLogic.AddPlayerReward(plr, RWD_ZombieKill, 0);
}
return true;
}
}
It was not working on allright with the original tutorial
Wtf are you guys crazy?, he readapted about 50% of the tut for ingaysionmmo too allright and you just flame coz you wanna be the little star?. Please stfu and let people help.
This is a forum and people like you piss me off so bad. This poor guy only wants to help.
true.Wtf are you guys crazy?, he readapted about 50% of the tut for ingaysionmmo too allright and you just flame coz you wanna be the little star?. Please stfu and let people help.
This is a forum and people like you piss me off so bad. This poor guy only wants to help.