Coma status Eff_ usage

evilpuncker

vai se tratar garota
Messages
2,178
Points
0
Age
109
Location
bronzil
Github
EPuncker
Emulator
Client Version
2019-05-30a MAIN
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

 
Code:
{
	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 ?

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

 
{
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;
">
},

Code:
{
	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;

Code:
	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:

Code:
### 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
 
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

 
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

 
Back
Top