01-11-2017, 04:18 PM
@DYKTATOR Please dont double post, its against the rules an if repeated will get you a warning.
|
Ingi PvP OFF
|
|
01-11-2017, 04:18 PM
@DYKTATOR Please dont double post, its against the rules an if repeated will get you a warning.
01-12-2017, 09:14 AM
GameServer/Server.cpp if(ch->GetMapAttr() & MATT_FREEPKZONE && ch->m_level > PKMODE_LIMIT_LEVEL) { if( (ch->GetPlayerState() & PLAYER_STATE_PKMODE) == false ) { ch->ResetPlayerState(PLAYER_STATE_PKMODEDELAY | PLAYER_STATE_PKMODE); ch->SetPlayerState(PLAYER_STATE_PKMODE); for ( int i = 1062; i <= 1065; i++ ) { if (ch->m_assist.FindBySkillIndex(i)) ch->m_assist.CureBySkillIndex(i); } GameServer/doFuncAction.cpp if (ch->IsSetPlayerState(PLAYER_STATE_PKMODE)) { ch->SetPlayerState(PLAYER_STATE_PKMODEDELAY); ch->m_pkmodedelay = PULSE_PKMODE_DELAY; } else { for ( int i = 1062; i <= 1065; i++ ) { if (ch->m_assist.FindBySkillIndex(i)) ch->m_assist.CureBySkillIndex(i); } ch->TogglePlayerState(PLAYER_STATE_PKMODE); ch->CancelInvisible(); }
11-28-2021, 02:38 PM
@/index.php?/profile/20341-agility/&do=hovercard&referrer=https%253A%252F%252Flckb.dev%252Fforum%252Findex.php%253F%252Ftopic%252F14937-ingi-pvp-off%252F" href="/index.php?/profile/20341-agility/" rel="" title="Go to Agility's profile">Agility you can expand that with the skill ID 1742? elephant buff I did it, but when elefant buffers it doesn't get rough
11-28-2021, 10:03 PM
it doesn't get rough?
11-29-2021, 07:26 PM
no. as soon as the skill is buffed by pet, it remains active. it is only deactivated if the skill is already active. maybe I got it wrong too, I just expanded it like that for ( int i = 1062; i <= 1065; i++ ) for ( int i = 1742; i <= 1742; i++ ) { ---- but that with the Igni works great, if you want to activate it, it says not possible in this zone until PVP mode is deactivated.
11-15-2023, 08:57 PM
On 11/29/2021 at 8:26 PM, Matt Hias said: no. as soon as the skill is buffed by pet, it remains active. it is only deactivated if the skill is already active. maybe I got it wrong too, I just expanded it like that for ( int i = 1062; i <= 1065; i++ ) for ( int i = 1742; i <= 1742; i++ ) { ---- but that with the Igni works great, if you want to activate it, it says not possible in this zone until PVP mode is deactivated. int ids[] = {1062, 1063, 1064, 1065}; // Define the array of IDs int numIds = sizeof(ids) / sizeof(ids[0]); // Calculate the number of elements in the array for (int i = 0; i < numIds; i++) { int currentId = ids[i]; // Get the current ID from the array if (ch->m_assist.FindBySkillIndex(currentId)) { ch->m_assist.CureBySkillIndex(currentId); } } i did it like |
|
« Next Oldest | Next Newest »
|