- Joined
- Dec 3, 2012
- Messages
- 117
Working on an ORPG and want to include a kind of blacksmithing system for players' gear.
For example;
Player 1's hero has a +0 weapon called Main Gauche (Using RO samples, seeing as it will be an RO based ORPG).
Now, I want to create a blacksmithing system like in RO, where you can upgrade your gear to +10. Bit by bit, and after a certain + (depending on the weapon level) there has to be a chance to fail an upgrade.
Now, I have a way of doing this, but its slow, takes forever and requires a buttload of work creating items.
Right now, I have Main Gauche, Main Gauche +1, Main Gauche +2 etc all the way up to 10 as individual items, and everytime u choose to upgrade your weaon, it checks which one you have and if you meet the requirements, it replaces that weapon with the next level.
This requires an insane amount of triggering and item creating if I want to implement this on a large scale, and I'm just wondering if theres an easier way to do this ?
Trigger:
For example;
Player 1's hero has a +0 weapon called Main Gauche (Using RO samples, seeing as it will be an RO based ORPG).
Now, I want to create a blacksmithing system like in RO, where you can upgrade your gear to +10. Bit by bit, and after a certain + (depending on the weapon level) there has to be a chance to fail an upgrade.
Now, I have a way of doing this, but its slow, takes forever and requires a buttload of work creating items.
Right now, I have Main Gauche, Main Gauche +1, Main Gauche +2 etc all the way up to 10 as individual items, and everytime u choose to upgrade your weaon, it checks which one you have and if you meet the requirements, it replaces that weapon with the next level.
This requires an insane amount of triggering and item creating if I want to implement this on a large scale, and I'm just wondering if theres an easier way to do this ?
Trigger:
-
Events
- Dialog - A dialog button is clicked for DIABlacksmith[1]
-
Actions
-
If - Conditions
- (Clicked dialog button) Equal to DIABBlacksmith1Red[1]
-
Then - Actions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
Or - Any (Conditions) are true
-
Conditions
- Main Gauche Equal to (Item-type of (Item carried by HERO1Red of type Main Gauche))
- Main Gauche Equal to (Item-type of (Item carried by UNITRentaCart[1] of type Main Gauche))
-
Conditions
-
Or - Any (Conditions) are true
-
Conditions
- Phracon Equal to (Item-type of (Item carried by HERO1Red of type Phracon))
- Phracon Equal to (Item-type of (Item carried by UNITRentaCart[1] of type Phracon))
-
Conditions
-
Or - Any (Conditions) are true
-
Then - Actions
- Item - Remove (Item carried by HERO1Red of type Main Gauche)
- Item - Remove (Item carried by HERO1Red of type Phracon)
- Hero - Create Main Gauche +1 and give it to HERO1Red
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
Or - Any (Conditions) are true
-
Conditions
- Main Gauche +1 Equal to (Item-type of (Item carried by HERO1Red of type Main Gauche +1))
- Main Gauche +1 Equal to (Item-type of (Item carried by UNITRentaCart[1] of type Main Gauche +1))
-
Conditions
-
Or - Any (Conditions) are true
-
Conditions
- Phracon Equal to (Item-type of (Item carried by HERO1Red of type Phracon))
- Phracon Equal to (Item-type of (Item carried by UNITRentaCart[1] of type Phracon))
-
Conditions
-
Or - Any (Conditions) are true
-
Then - Actions
- Item - Remove (Item carried by HERO1Red of type Main Gauche +1)
- Item - Remove (Item carried by HERO1Red of type Phracon)
- Hero - Create Main Gauche +2 and give it to HERO1Red
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
Or - Any (Conditions) are true
-
Conditions
- Main Gauche +2 Equal to (Item-type of (Item carried by HERO1Red of type Main Gauche +2))
- Main Gauche +2 Equal to (Item-type of (Item carried by UNITRentaCart[1] of type Main Gauche +2))
-
Conditions
-
Or - Any (Conditions) are true
-
Conditions
- Phracon Equal to (Item-type of (Item carried by HERO1Red of type Phracon))
- Phracon Equal to (Item-type of (Item carried by UNITRentaCart[1] of type Phracon))
-
Conditions
-
Or - Any (Conditions) are true
-
Then - Actions
- Item - Remove (Item carried by HERO1Red of type Main Gauche +2)
- Item - Remove (Item carried by HERO1Red of type Phracon)
- Hero - Create Main Gauche +3 and give it to HERO1Red
- Else - Actions
-
If - Conditions
Last edited: