|
You last visited: Today at 11:52
Advertisement
CD skill
Discussion on CD skill within the Last Chaos forum part of the MMORPGs category.
08/17/2021, 17:59
|
#1
|
elite*gold: 0
Join Date: May 2017
Posts: 101
Received Thanks: 6
|
CD skill
how i can make 100% cd skill?
|
|
|
08/18/2021, 00:09
|
#2
|
elite*gold: 104
Join Date: Sep 2012
Posts: 1,364
Received Thanks: 573
|
Quote:
Changes that have to be made in the Server Source:
Skill.cpp
// New System without %
reusetime = reusetime * ( 150.00 / (150 + prob )) * (100.00 / (100 + prob));
// Old System with %
reusetime -= reusetime * prob / 100;
// Around 17 lines after the resuetime variable also change this one
if (!IS_PC(ch)){
if (reusetime < 1){
reusetime = 0;
}
}
Changes that have to be made in the Client Source
MyInfoSkill.cpp > Function > DOUBLE MyInfoSkill::GetReuseSkill( int nIndex )
Replace the Complete Function
DOUBLE MyInfoSkill::GetReuseSkill( int nIndex )
{
CSkill& rSkill = _pNetwork->GetSkillData(nIndex);
int nCoolTimeReductionRate = 0;
int SkillReuseTime = 0;
DOUBLE dCoolTime = 0.0;
DOUBLE dDelayTime;
DOUBLE dReuseTime = 0.0;
int nReuseTime = 0;
// <<< Old CoolDownSystem with EP4 Features by DamonA
dDelayTime = DOUBLE( rSkill.GetReUseTime() + _pNetwork->MyCharacterInfo.magicspeed ) / 10.0;
nCoolTimeReductionRate= UIMGR()->GetCoolTimeReductionRate();
if (rSkill.GetJob() != PET_JOB && rSkill.GetJob() != WILDPET_JOB &&
!(rSkill.GetFlag() & SF_GUILD))
{
if (!(rSkill.Skill_Data.appState & SCT_NOCOOLTIME))
{
if( nCoolTimeReductionRate > 100 )
{
nCoolTimeReductionRate = 100;
}
if( nCoolTimeReductionRate > 0 )
{
dDelayTime *= DOUBLE(100-nCoolTimeReductionRate)/100.0f;
}
}
}
return dDelayTime;
// >>> OldCoolDownSystem with EP4 Features by DamonA
if (rSkill.GetJob() != PET_JOB && rSkill.GetJob() != WILDPET_JOB &&
!(rSkill.GetFlag() & SF_GUILD))
{
// ?? ??? ??? ?????? ???.
if (!(rSkill.Skill_Data.appState & SCT_NOCOOLTIME))
{
nCoolTimeReductionRate = UIMGR()->GetCoolTimeReductionRate();
dCoolTime = ( 150.0 / (150.0 + nCoolTimeReductionRate ) * 100.0 / (100.0 + nCoolTimeReductionRate) );
}
}
if(rSkill.GetReUseTime())
{
dReuseTime = DOUBLE( rSkill.GetReUseTime() + _pNetwork->MyCharacterInfo.magicspeed ) / 10.0 * (nCoolTimeReductionRate ? dCoolTime : 1);
return dReuseTime;
}
return 0.0;
}
__________________
CNetwork.cpp
#define DEF_SKILL_SEND_DELAY 200 change to 0
|
credits to damona i guess
|
|
|
08/18/2021, 06:26
|
#3
|
elite*gold: 0
Join Date: May 2019
Posts: 34
Received Thanks: 2
|
Quote:
Originally Posted by Desarija
credits to damona i guess
|
thanks a lot I'll try
|
|
|
 |
Similar Threads
|
[Selling] S2 SSL TITLE, S2&S3 SSL TOURNAMENT WINNER TITLE, TW DOMINUS, TW FENNEC, ETC!
12/25/2022 - Rocket League Trading - 2 Replies
Hi! I am selling my rocket league account since I don't play the game anymore.
It also has GC titles since Season 9. Also some GC extra mode titles.
4.7k hours on Steam
Most valuable items I have: 1800 credits, Fennec, TW Laserwave, TW Dominus (from item shop), TW fennec (from itemshop), TW Zomba (from itemshop), Paper dragon, ETC. Not gonna list them all here
Current ranks: 2v2 1740 mmr, 3v3 1580 mmr, 1v1 1200 mmr
Since it's my steam account it also has games such as: PUBG, R6.
Account...
|
[Selling] PGI Title Crate Code ( PGI TITLE SET SKIN )
07/25/2018 - PlayerUnknown's Battlegrounds Trading - 0 Replies
Hallo,
ich verkaufe einen Key, der in PUBG im Shop aktiviert werden kann um eine PGI Title Crate freizuschalten. Diese Crate beinhaltet das gesamte Title Set.
/1 Ich akzeptiere nur Paypal F&F und werde auch nicht first gehen, es sei denn ihr habt 350+/0/0 positive TBMs.
Es wird nur über Epvp getraded, kein Skype, Discord usw. Zudem muss zuvor ein Trade eröffnet werden. Lest euch bitte vorher die Traderegeln von Epvp durch. Mit Abgabe eines Gebotes, stimmt ihr meinem /1 zu.
Mfg
|
[WTS] Account including all 4 campaigns + Wisdom Title [3] + Treasure title [near 3]
09/06/2009 - Guild Wars Trading - 6 Replies
:
Hi, I'm sellin an Account including all 3 campaigns & EOTN.
It has no characters on it except an PvP Elementalist.
There are some green items and materials on storage, and 11 golden rin relicts
It's not plaync-bounded!!
I'm open for offers. (ectos, zkeys, rare pets or rare items only)
Contact:
..: 195759396
|
How edit topic title? New title.
09/01/2007 - Conquer Online 2 - 2 Replies
Since forum turned vbulletin, i cant edit topic title
|
All times are GMT +1. The time now is 11:53.
|
|