Skip to content

Question about abilityfeatures file #460

Closed Answered by Tirlititi
Teamtorrentscripts asked this question in Q&A
Discussion options

You must be logged in to vote

Hello. Yes, that is possible, although I'm not 100% sure I understood correctly what you want to do.
If it's about "this enemy gives that reward but only when a character has that weapon equipped", then it would be done with something like that:

>SA Global+
BattleResult WhenRewardAll
[code=Condition] WeaponId == RegularItem_HolyLance && BattleId == 525 [/code]
[code=BonusItem1] RegularItem_DragonWrist [/code]
[code=BonusItemCount1] 1 [/code]

That way, you get a Dragon Wrist as a reward for fighting Valia Pira when someone is equipped with the Holy Lance.
The battle IDs can be found here.

EDIT: with the latest commits, using these lines instead don't replace the original first reward by th…

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
3 replies
@Teamtorrentscripts
Comment options

@Tirlititi
Comment options

@Teamtorrentscripts
Comment options

Answer selected by snouz
Comment options

You must be logged in to vote
2 replies
@Tirlititi
Comment options

@Teamtorrentscripts
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants