Jump to content
  • 0
Sign in to follow this  
evilpuncker

Coma status Eff_ usage

Question

So today I was playing with some mobs/items that had coma effect but noticed that there is no way to handle/use it (bAddEff, bResEff, bAddEffOnSkill etc) like the other effects (Eff_Stun, Eff_Curse, Eff_Silence etc), so I'd like to ask how hard would it be to have it added to source as a plugin? any help is appreciated

Share this post


Link to post
Share on other sites

3 answers to this question

Recommended Posts

  • 0
{
	Id: 1132
	AegisName: "Edge"
	Name: "Edge"
	Type: "IT_WEAPON"
	Buy: 20
	Weight: 700
	Atk: 115
	Range: 1
	Job: {
		Swordsman: true
		Merchant: true
		Thief: true
		Knight: true
		Blacksmith: true
		Assassin: true
		Crusader: true
		Rogue: true
		Alchemist: true
	}
	Loc: "EQP_WEAPON"
	WeaponLv: 4
	EquipLv: 40
	Subtype: "W_1HSWORD"
	Script: <"
		bonus2 bAddEff,Eff_Curse,30;
		bonus2 bWeaponComaRace,RC_NonBoss,10;
	">
},

I am scratching my head or did I misunderstood your question ?

	bonus2 bWeaponComaRace,RC_NonBoss,10;
	sc_start SC_COMA, 1,1;

 

Share this post


Link to post
Share on other sites
  • 0
On 9/25/2020 at 2:09 AM, AnnieRuru said:

{ Id: 1132 AegisName: "Edge" Name: "Edge" Type: "IT_WEAPON" Buy: 20 Weight: 700 Atk: 115 Range: 1 Job: { Swordsman: true Merchant: true Thief: true Knight: true Blacksmith: true Assassin: true Crusader: true Rogue: true Alchemist: true } Loc: "EQP_WEAPON" WeaponLv: 4 EquipLv: 40 Subtype: "W_1HSWORD" Script: <" bonus2 bAddEff,Eff_Curse,30; bonus2 bWeaponComaRace,RC_NonBoss,10; "> },


{
	Id: 1132
	AegisName: "Edge"
	Name: "Edge"
	Type: "IT_WEAPON"
	Buy: 20
	Weight: 700
	Atk: 115
	Range: 1
	Job: {
		Swordsman: true
		Merchant: true
		Thief: true
		Knight: true
		Blacksmith: true
		Assassin: true
		Crusader: true
		Rogue: true
		Alchemist: true
	}
	Loc: "EQP_WEAPON"
	WeaponLv: 4
	EquipLv: 40
	Subtype: "W_1HSWORD"
	Script: <"
		bonus2 bAddEff,Eff_Curse,30;
		bonus2 bWeaponComaRace,RC_NonBoss,10;
	">
},

I am scratching my head or did I misunderstood your question ?

bonus2 bWeaponComaRace,RC_NonBoss,10; sc_start SC_COMA, 1,1;


	bonus2 bWeaponComaRace,RC_NonBoss,10;
	sc_start SC_COMA, 1,1;

 

 

sorry annie, I completely forgot this topic and didn't got a notification either!

 

let me try to be a little more clear:

- right now we can only use the coma effect by using the bWeaponComaRace and nothing else. (or no?!)

 

what I want to achieve is to be able to have a "custom" Eff_Coma instead of the bWeaponComaRace

so I could make use of the useful bonuses bAddEff, bResEff, bAddEffOnSkill, bAddEff2, bAddEffWhenHit and etc

 

 

right now we only have these:

### Status effects

- `Eff_Stone`: 0
- `Eff_Freeze`: 1
- `Eff_Stun`: 2
- `Eff_Sleep`: 3
- `Eff_Poison`: 4
- `Eff_Curse`: 5
- `Eff_Silence`: 6
- `Eff_Confusion`: 7
- `Eff_Blind`: 8
- `Eff_Bleeding`: 9
- `Eff_DPoison`: 10
- `Eff_Fear`: 11
- `Eff_Cold`: 12
- `Eff_Burning`: 13
- `Eff_Deepsleep`: 14

 

Share this post


Link to post
Share on other sites
  • 0

Officially, Golden_Bug_Card can defend against Coma effect
which is bonus bNoMagicDamage,100;

 

after reading the source code, it seems adding something like Eff_Coma is kinda tough

but if just adding a bonus to defend against SC_COMA is kinda easier

https://github.com/AnnieRuru/Release/blob/master/plugins/Request %26 Answer/bComaResist.c

tested with a Club[3] with add bonus2 bWeaponComaRace,RC_All,10000;

 

so anyway, if you just want to add another bonus for coma effect, just check with SC_COMA

still stubborn want to use Eff_Coma ? sry can't help with this

Share this post


Link to post
Share on other sites
  • 0
3 hours ago, AnnieRuru said:

Officially, Golden_Bug_Card can defend against Coma effect
which is bonus bNoMagicDamage,100;

 

after reading the source code, it seems adding something like Eff_Coma is kinda tough

but if just adding a bonus to defend against SC_COMA is kinda easier

https://github.com/AnnieRuru/Release/blob/master/plugins/Request %26 Answer/bComaResist.c

tested with a Club[3] with add bonus2 bWeaponComaRace,RC_All,10000;

 

so anyway, if you just want to add another bonus for coma effect, just check with SC_COMA

still stubborn want to use Eff_Coma ? sry can't help with this

 

that is perfect! thank you so much

Share this post


Link to post
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.   Restore formatting

  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.

Loading...
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.