[REQ] Ice-Golem Effect
as you guys know the Ice-Golem Attacks like a normal monster without the frozen effect on 2.24b... on original servers if you are AMPED they cant hurt you, i want this effect working on 2.24b... i allready searched on 2.20 real source but could not get it...
~Thanks ^^
~Thanks ^^
OWNED!<br><img src='http://img50.imageshack.us/img50/1386/p ... 3vsqn2.gif' border='0' alt='user posted image' /><br><br><img src="http://hbtop50.com/button.php?u=hbuonline" alt="Helbreath Top 50 - Keepin' it real." border="0" /><br><a href='http://www.hbuonline.net' target='_blank'>Helbreath United</a>
Too hard for me :blink: But you can make it yourself somehow too? your pretty good in C++
<img src='http://www.hot.ee/carvanho/taavi.png' border='0' alt='user posted image' /><br><br><img src='http://www.hot.ee/carvanho/Elvine.png' border='0' alt='user posted image' /><br><img src='http://www.hot.ee/carvanho/LieroX.png' border='0' alt='user posted image' /><br><img src='http://www.hot.ee/carvanho/Football.png' border='0' alt='user posted image' />
nah i could not figure one way to solve this problem, and im a pretty noob in c++ =O waiting for help...Tafka12 wrote: Too hard for me :blink: But you can make it yourself somehow too? your pretty good in C++
OWNED!<br><img src='http://img50.imageshack.us/img50/1386/p ... 3vsqn2.gif' border='0' alt='user posted image' /><br><br><img src="http://hbtop50.com/button.php?u=hbuonline" alt="Helbreath Top 50 - Keepin' it real." border="0" /><br><a href='http://www.hbuonline.net' target='_blank'>Helbreath United</a>
i find only that:
meby if you add effect magic with that case ^^
ps: it from HG 2.24D from technohell.net...
Code: Select all
case 9: // Tigerworm
if ((m_pMagicConfigList[74]->m_sValue1 <= m_pNpcList[iNpcH]->m_iMana) && (iDice(1,3) == 2))
iMagicType = 74; // Lightning-Strike
break;
case 10: // Frost, Nizie
break;
case 11: // Ice-Golem
break;
case 12: // Wyvern
if ((m_pMagicConfigList[91]->m_sValue1 <= m_pNpcList[iNpcH]->m_iMana) && (iDice(1,3) == 2))
iMagicType = 91; // Blizzard
else if (m_pMagicConfigList[63]->m_sValue1 <= m_pNpcList[iNpcH]->m_iMana)
iMagicType = 63; // Mass-Chill-Wind
break;
case 13: // Abaddon
if ((m_pMagicConfigList[96]->m_sValue1 <= m_pNpcList[iNpcH]->m_iMana) && (iDice(1,3) == 2))
iMagicType = 96; // Earth Shock Wave
else if (m_pMagicConfigList[81]->m_sValue1 <= m_pNpcList[iNpcH]->m_iMana)
iMagicType = 81; // Metoer Strike
break;
}
meby if you add effect magic with that case ^^
ps: it from HG 2.24D from technohell.net...
thats what magic's they cast.
<img src='http://www.hot.ee/carvanho/taavi.png' border='0' alt='user posted image' /><br><br><img src='http://www.hot.ee/carvanho/Elvine.png' border='0' alt='user posted image' /><br><img src='http://www.hot.ee/carvanho/LieroX.png' border='0' alt='user posted image' /><br><img src='http://www.hot.ee/carvanho/Football.png' border='0' alt='user posted image' />
Should also add something...if
if target's DEF MAGIC PROTECT = 2 goto noeffect
if target's DEF MAGIC PROTECT = 2 goto noeffect
QUOTE (ADDKiD @ Dec 1 2006, 4:01 PM) <br>You guys make me laugh alot, half the shit I say, is bullshit...<br><br><img src='http://img485.imageshack.us/img485/492/banssig1ng.gif' border='0' alt='user posted image' /><br><br><b>I see no changes at all, wake up in the morning and ask myself...<br>Is life worth living? Should I blast myself?</b><br><br><b><a href='http://2paclegacy.com' target='_blank'>2PacLegacy.com</a></b>
look what we have on 2.20 sourceslocobans wrote:Should also add something...if
if target's DEF MAGIC PROTECT = 2 goto noeffect
void CGame::NpcBehavior_Attack(int iNpcH)
Code: Select all
// ÀÏ¹Ý NPCÀÎ °æ¿ì
if (m_pNpcList[iNpcH]->m_cMagicLevel == 11) {// v2.20 2002-12-20 Ice-GolemÀÇ °ø°Ý ÇüÅÂ
SendEventToNearClient_TypeA(iNpcH, DEF_OWNERTYPE_NPC, MSGID_EVENT_MOTION, DEF_OBJECTATTACK, m_pNpcList[iNpcH]->m_sX, m_pNpcList[iNpcH]->m_sY, 1);
m_pNpcList[iNpcH]->m_iMagicHitRatio = 1000;
NpcMagicHandler(iNpcH, m_pNpcList[iNpcH]->m_sX, m_pNpcList[iNpcH]->m_sY, 75);
} else
{
SendEventToNearClient_TypeA(iNpcH, DEF_OWNERTYPE_NPC, MSGID_EVENT_MOTION, DEF_OBJECTATTACK, m_pNpcList[iNpcH]->m_sX + _tmp_cTmpDirX[cDir], m_pNpcList[iNpcH]->m_sY + _tmp_cTmpDirY[cDir], 1); // 1 : Ä®µîÀÇ ±ÙÁ¢¹«±â·Î °ø°ÝÇÏ´Â ÀǹÌ
iCalculateAttackEffect(m_pNpcList[iNpcH]->m_iTargetIndex, m_pNpcList[iNpcH]->m_cTargetType, iNpcH, DEF_OWNERTYPE_NPC, dX, dY, 1); // °ø°Ý¿¡ ´ëÇÑ È¿°ú¸¦ °è»êÇÑ´Ù.
}
}
Code: Select all
// 2002-12-20 NpcMagicHander¿¡ DEF_MAGICTYPE_ICE Ãß°¡ (Ice-Golem ¿ë)
case DEF_MAGICTYPE_ICE:
for (iy = dY - m_pMagicConfigList[sType]->m_sValue3; iy <= dY + m_pMagicConfigList[sType]->m_sValue3; iy++)
for (ix = dX - m_pMagicConfigList[sType]->m_sValue2; ix <= dX + m_pMagicConfigList[sType]->m_sValue2; ix++) {
m_pMapList[m_pNpcList[iNpcH]->m_cMapIndex]->GetOwner(&sOwnerH, &cOwnerType, ix, iy);
if ((bCheckResistingMagicSuccess(m_pNpcList[iNpcH]->m_cDir, sOwnerH, cOwnerType, iResult) == FALSE)
&& (bCheckResistingIceSuccess(m_pNpcList[iNpcH]->m_cDir, sOwnerH, cOwnerType, iResult) == FALSE) ) {
// ´ë¹ÌÁö¿Í ÇÔ²²
//Effect_Damage_Spot(iClientH, DEF_OWNERTYPE_PLAYER, sOwnerH, cOwnerType, m_pMagicConfigList[sType]->m_sValue4, m_pMagicConfigList[sType]->m_sValue5, m_pMagicConfigList[sType]->m_sValue6 + iWhetherBonus, TRUE, iMagicAttr);
// ¾ó¾î¼ µ¿ÀÛÀÌ ´Ê¾îÁö´Â È¿°ú
switch (cOwnerType) {
case DEF_OWNERTYPE_PLAYER:
if (m_pClientList[sOwnerH] == NULL) continue; // goto NMH_NOEFFECT;
// v2.19 2002-11-17 »ç³¶²ÛÀº ¾óÁö ¾Ê°Ô ¼öÁ¤
if (m_pClientList[sOwnerH]->m_bIsHunter == TRUE) continue; // goto NMH_NOEFFECT;
// v2.19 2002-11-17 Á߸³Àº ¾óÁö ¾Ê°Ô ¼öÁ¤
if (m_pClientList[sOwnerH]->m_cSide == DEF_NETURAL) continue; // goto NMH_NOEFFECT;
// Ÿ°ÙÀÌ »ì¾ÆÀÖ°í ¾óÀ½ ÀúÇ׿¡ ½ÇÆÐÇß´Ù¸é ¾ó¾îºÙ´Â´Ù.
if (m_pClientList[sOwnerH]->m_iHP > 0) {
Effect_Damage_Spot_DamageMove(iNpcH, DEF_OWNERTYPE_NPC, sOwnerH, cOwnerType, dX, dY, m_pMagicConfigList[sType]->m_sValue7, m_pMagicConfigList[sType]->m_sValue8, m_pMagicConfigList[sType]->m_sValue9 + iWhetherBonus, TRUE, iMagicAttr);
if (m_pClientList[sOwnerH]->m_cMagicEffectStatus[ DEF_MAGICTYPE_ICE ] == 0) {
m_pClientList[sOwnerH]->m_cMagicEffectStatus[ DEF_MAGICTYPE_ICE ] = 1;
SetIceFlag(sOwnerH, cOwnerType, TRUE);
// È¿°ú°¡ ÇØÁ¦µÉ ¶§ ¹ß»ýÇÒ µô·¹ÀÌ À̺¥Æ®¸¦ µî·ÏÇÑ´Ù.
bRegisterDelayEvent(DEF_DELAYEVENTTYPE_MAGICRELEASE, DEF_MAGICTYPE_ICE, dwTime + (m_pMagicConfigList[sType]->m_sValue10*1000),
sOwnerH, cOwnerType, NULL, NULL, NULL, 1, NULL, NULL);
// ´ë»óÀÌ Ç÷¹À̾îÀÎ °æ¿ì ¾Ë·ÁÁØ´Ù.
SendNotifyMsg(NULL, sOwnerH, DEF_NOTIFY_MAGICEFFECTON, DEF_MAGICTYPE_ICE, 1, NULL, NULL);
}
}
break;
OWNED!<br><img src='http://img50.imageshack.us/img50/1386/p ... 3vsqn2.gif' border='0' alt='user posted image' /><br><br><img src="http://hbtop50.com/button.php?u=hbuonline" alt="Helbreath Top 50 - Keepin' it real." border="0" /><br><a href='http://www.hbuonline.net' target='_blank'>Helbreath United</a>
no one got it?
OWNED!<br><img src='http://img50.imageshack.us/img50/1386/p ... 3vsqn2.gif' border='0' alt='user posted image' /><br><br><img src="http://hbtop50.com/button.php?u=hbuonline" alt="Helbreath Top 50 - Keepin' it real." border="0" /><br><a href='http://www.hbuonline.net' target='_blank'>Helbreath United</a>
no idea
but check
or add
that
if AMP = False or smth
then allow attack?
Add it maybe? i dunoo
but check
or add
that
if AMP = False or smth
then allow attack?
Add it maybe? i dunoo
<img src='http://www.hot.ee/carvanho/taavi.png' border='0' alt='user posted image' /><br><br><img src='http://www.hot.ee/carvanho/Elvine.png' border='0' alt='user posted image' /><br><img src='http://www.hot.ee/carvanho/LieroX.png' border='0' alt='user posted image' /><br><img src='http://www.hot.ee/carvanho/Football.png' border='0' alt='user posted image' />