Jump to content
  • 0

Kagerou/Oboro Skills


Creobnil

Question


  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  22
  • Reputation:   3
  • Joined:  04/16/12
  • Last Seen:  

I want to add the Kagerou/Oboro Skills for test and practice purposes.

But sadly its the first time with rathena source code editing and C++.

So im just going to add a thing here and there and watch what comes out. xD

I dont have all the skill infos, so i want to collect them here for all. So if you

have any infos or want to correct me then feel free to post it here.

The same for the source, dont know whats all to edit, so feel free to post changes

i have forget or have to made. ^^

yamikumogpikp.pngKO_YAMIKUMO (Blindly/Dark Cloud) => seems to work

MaxLv: 1

SP Cost: 10 (SP drops with the time in this status.) per Sec: ???

Description: Hide one's presence. SP is reduced by fixed amount while under this status.

Either using it again, or reaching 0 SP will remove it.

right-handmasteryebuw1.pngKO_RIGHT (Right Hand Mastery) => seems to work

MaxLv: 5

Type: Passive

Description: Recover the attack power lost from equipping two weapons.

[LV 1] ATK 80%

[LV 2] ATK 90%

[LV 3] ATK 100%

[LV 4] ATK 110%

[LV 5] ATK 120%

left-handmasterybie8a.pngKO_LEFT (Left Hand Mastery) => seems to work

MaxLv: 5

Type: Passive

Description: Recover the attack power lost from equipping two weapons.

[LV 1] ATK 60%

[LV 2] ATK 70%

[LV 3] ATK 80%

[LV 4] ATK 90%

[LV 5] ATK 100%

Database Edits

dbreskill_db.txt add

3001,1,6,4,0,1,0,1,1,no,0,0,0,none,0,	KO_YAMIKUMO,Blindly
3002,0,0,0,0,0,0,5,0,no,0,0,0,weapon,0,	KO_RIGHT,Right-Hand Training
3003,0,0,0,0,0,0,5,0,no,0,0,0,weapon,0,	KO_LEFT,Left-Hand Practice

dbreskill_require_db.txt add

3001,0,0,10,0,0,0,99,0,0,none,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0	//KO_YAMIKUMO#Blindly#

dbreskill_cast_db.txt add

//-- KO_YAMIKUMO
3001,0,0,0,30000,0,0,0

Source Edits

srcmapskill.c edit (marked with //ADDED)

  	 case BS_GREED:
	case WS_CARTBOOST:
	case BS_HAMMERFALL:
	case BS_ADRENALINE:
	case MC_CARTREVOLUTION:
	case MC_MAMMONITE:
	case WS_MELTDOWN:
	case MG_SIGHT:
	case TF_HIDING:
	case KO_YAMIKUMO:	 //ADDED
		/**
		 * These skills cannot be used while in mado gear (credits to Xantara)
		 **/
		if(sd->sc.option&OPTION_MADOGEAR) {
			clif_skill_fail(sd,skillid,USESKILL_FAIL_LEVEL,0);
			return 1;
		}
		break;

case TF_HIDING:
case KO_YAMIKUMO:	  //ADDED
case ST_CHASEWALK:
	if (tsce)
	{
		clif_skill_nodamage(src,bl,skillid,-1,status_change_end(bl, type, INVALID_TIMER)); //Hide skill-scream animation.
		map_freeblock_unlock();
		return 0;
	} else if( tsc && tsc->option&OPTION_MADOGEAR ) {
		//Mado Gear cannot hide
		if( sd ) clif_skill_fail(sd,skillid,USESKILL_FAIL_LEVEL,0);
		map_freeblock_unlock();
		return 0;
	}
	clif_skill_nodamage(src,bl,skillid,-1,sc_start(bl,type,100,skilllv,skill_get_time(skillid,skilllv)));
	break;

switch( skill ) { // Turn off check.
	case BS_MAXIMIZE:		case NV_TRICKDEAD:	case TF_HIDING:			case AS_CLOAKING:		case CR_AUTOGUARD:
	case ML_AUTOGUARD:		case CR_DEFENDER:	case ML_DEFENDER:		case ST_CHASEWALK:		case PA_GOSPEL:
	case CR_SHRINK:			case TK_RUN:		case GS_GATLINGFEVER:	case TK_READYCOUNTER:	case TK_READYDOWN:
	case TK_READYSTORM:		case TK_READYTURN:	case SG_FUSION:			case RA_WUGDASH:		case KO_YAMIKUMO:	  //ADDED
		if( sc && sc->data[status_skill2sc(skill)] )
			return 1;
}

switch( skill )
{ // Turn off check.
case BS_MAXIMIZE:		case NV_TRICKDEAD:	case TF_HIDING:			case AS_CLOAKING:		case CR_AUTOGUARD:
case ML_AUTOGUARD:		case CR_DEFENDER:	case ML_DEFENDER:		case ST_CHASEWALK:		case PA_GOSPEL:
case CR_SHRINK:			case TK_RUN:		case GS_GATLINGFEVER:	case TK_READYCOUNTER:	case TK_READYDOWN:
case TK_READYSTORM:		case TK_READYTURN:	case SG_FUSION:			case KO_YAMIKUMO:  //ADDED
	if( sc && sc->data[status_skill2sc(skill)] )
		return req;
}

  	 case PF_FOGWALL:		case TK_RUN:			case TK_HIGHJUMP:		case TK_SEVENWIND:
	case SL_KAAHI:			case SL_KAUPE:			case SL_KAITE:			case KO_YAMIKUMO:   //ADDED

	// Skills that need to be confirmed.
	case SO_FIREWALK:		case SO_ELECTRICWALK:		case SO_SPELLFIST:		case SO_EARTHGRAVE:
	case SO_DIAMONDDUST:		case SO_POISON_BUSTER:		case SO_PSYCHIC_WAVE:		case SO_CLOUD_KILL:

srcmapstatus.c edit (marked with //ADDED)

  	 if (sc->option&OPTION_HIDE)
	switch (skill_num) { //Usable skills while hiding.
		case TF_HIDING:
		case KO_YAMIKUMO:				   //ADDED
		case AS_GRIMTOOTH:
		case RG_BACKSTAP:
		case RG_RAID:
		case NJ_SHADOWJUMP:
		case NJ_KIRIKAGE:
			break;

set_sc( EL_TIDAL_WEAPON	, SC_TIDAL_WEAPON_OPTION  , SI_TIDAL_WEAPON_OPTION  , SCB_ALL );
set_sc( EL_ROCK_CRUSHER	, SC_ROCK_CRUSHER		 , SI_ROCK_CRUSHER		 , SCB_DEF );
set_sc( EL_ROCK_CRUSHER_ATK, SC_ROCK_CRUSHER_ATK	 , SI_ROCK_CRUSHER_ATK	 , SCB_SPEED );	
/**
* Kagerou
**/
set_sc( KO_YAMIKUMO			, SC_HIDING		  , SI_HIDING		  , SCB_SPEED );	   //ADDED

srcmapbattle.c edit (marked with //ADDED and //EDITED)

  	 {	//Dual-wield
		if (wd.damage)
		{
			skill = 0;	//ADDED
		if(pc_checkskill(sd,KO_RIGHT) > 0) skill = 2;				 //ADDED
			skill = skill + pc_checkskill(sd,AS_RIGHT) +  pc_checkskill(sd,KO_RIGHT);	  //EDITED
			wd.damage = wd.damage * (50 + (skill * 10))/100;
			if(wd.damage < 1) wd.damage = 1;

		}

			skill = 0;	 //ADDED
		if(pc_checkskill(sd,KO_LEFT) > 0) skill = 2;	 //ADDED
			skill = skill + pc_checkskill(sd,AS_LEFT) + pc_checkskill(sd,KO_LEFT);	 //EDITED
			wd.damage2 = wd.damage2 * (30 + (skill * 10))/100;
			if(wd.damage2 < 1) wd.damage2 = 1;

Client-Edit

datalua filesskillinfozskilldescript.lua add

[sKID.KO_YAMIKUMO] = {
	"Blindly ^1e90ff",
	"MaxLv:^000000 1  ^1e90ff  Type:^000000 Active ^1e90ff",
	" • SP Cost: ^000000 10 ^dc143c ",
	"(SP dropps with time in this status) ^000000",
	"Effect: ^777777 Toggles the hiding status On/Off. ^000000",
	"Description: ^777777 Black clouds hide one's present",
	"from monsters and other players. This stops",
	"skills and spells that are targeted at you from",
	"working. This status last until your^1e90ff SP^777777",
	"run out or you use this skill again."
},

[sKID.KO_RIGHT] = {
	"Right-Hand Training ^1e90ff",
	"MaxLv:^000000 5  ^1e90ff  Type:^000000 Passive ^1e90ff",
	" • SP Cost: ^000000 - ^dc143c ",
	"Effect:^777777 Damage on the right-hand weapon while",
	"equipping two weapons is increased with Skill-Lv. ^000000",
	" • [LV 1]^777777 ATK 80% ^000000",
	" • [LV 2]^777777 ATK 90% ^000000",
	" • [LV 3]^777777 ATK 100% ^000000",
	" • [LV 4]^777777 ATK 110% ^000000",
	" • [LV 5]^777777 ATK 120% ^000000"
},

[sKID.KO_LEFT] = {
	"Left-Hand Practice ^1e90ff",
	"MaxLv:^000000 5  ^1e90ff  Type:^000000 Passive ^1e90ff",
	" • SP Cost: ^000000 - ^dc143c ",
	"Effect:^777777 Damage on the left-hand weapon while",
	"equipping two weapons is increased with Skill-Lv. ^000000",
	" • [LV 1]^777777 ATK 60% ^000000",
	" • [LV 2]^777777 ATK 70% ^000000",
	" • [LV 3]^777777 ATK 80% ^000000",
	" • [LV 4]^777777 ATK 90% ^000000",
	" • [LV 5]^777777 ATK 100% ^000000"
}

datalua filesskillinfozskillid.lua add

KO_YAMIKUMO = 3001,
KO_RIGHT = 3002,
KO_LEFT = 3003
}

datalua filesskillinfozskillinfolist.lua add

[sKID.KO_YAMIKUMO] = {
SkillName = "Blindly",
MaxLv = 1,
SpAmount = {10},
bSeperateLv = false,
AttackRange = {1},
_NeedSkillList = {{SKID.NJ_KIRIKAGE, 5}},
"KO_YAMIKUMO"
},
[sKID.KO_RIGHT] = {
SkillName = "Right-Hand Training",
MaxLv = 5,
SpAmount = {0, 0, 0, 0, 0},
bSeperateLv = false,
AttackRange = {1, 1, 1, 1, 1},
"KO_RIGHT"
},
[sKID.KO_LEFT] = {
SkillName = "Left-Hand Practice",
MaxLv = 5,
SpAmount = {0, 0, 0, 0, 0},
bSeperateLv = false,
AttackRange = {1, 1, 1, 1, 1},
"KO_LEFT"
}}


More Info needed ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

[iCON] KO_JYUMONJIKIRI (Cross Slasher) => added the skill and it works, but dont have enough infos

MaxLv: 5

Type: Active

Description: Dont know it exactly what it does. What i think:

If you hit your enemy he get the JYUMONJIKIRI status.

And if you hit him and he has this status, then he get

additional damage. Dont know how much.

[LV 1] ATK 150% Sp.Cost: 20

[LV 2] ATK 300% Sp.Cost: 24

[LV 3] ATK 450% Sp.Cost: 28

[LV 4] ATK 600% Sp.Cost: 32

[LV 5] ATK 750% Sp.Cost: 36

[iCON] KO_SETSUDAN (Soul Cut) => added the skill and it works, but dont have enough infos

MaxLv: 5

Type: Active

Type: Range 2

Description: If the target has a Soul Link, it gets additional damage

and the Soul Link is removed.

(Dont know how much damage, but it goes higher with a higher Soul Buff)

[LV 1] ATK 100% Sp.Cost: 12

[LV 2] ATK 200% Sp.Cost: 16

[LV 3] ATK 300% Sp.Cost: 20

[LV 4] ATK 400% Sp.Cost: 24

[LV 5] ATK 500% Sp.Cost: 28

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

If anyone wants too I can post/add more skills. I do not know whether this might disturb someone. xD

Maybe i help someone with this. ^^

I would be glad if I would get more information about the skills if anyone have.

I apologize for my bad english xDD

Edited by Creobnil
  • Upvote 1
Link to comment
Share on other sites

1 answer to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  33
  • Topics Per Day:  0.01
  • Content Count:  355
  • Reputation:   34
  • Joined:  02/09/12
  • Last Seen:  

There are no more Updates?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...